﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200083B RID: 2107
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetStarFightDataScRsp : IMessage<GetStarFightDataScRsp>, IMessage, IEquatable<GetStarFightDataScRsp>, IDeepCloneable<GetStarFightDataScRsp>, IBufferMessage
	{
		// Token: 0x17001AAE RID: 6830
		// (get) Token: 0x06005E6E RID: 24174 RVA: 0x000FC54D File Offset: 0x000FA74D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetStarFightDataScRsp> Parser
		{
			get
			{
				return GetStarFightDataScRsp._parser;
			}
		}

		// Token: 0x17001AAF RID: 6831
		// (get) Token: 0x06005E6F RID: 24175 RVA: 0x000FC554 File Offset: 0x000FA754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetStarFightDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001AB0 RID: 6832
		// (get) Token: 0x06005E70 RID: 24176 RVA: 0x000FC566 File Offset: 0x000FA766
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetStarFightDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005E71 RID: 24177 RVA: 0x000FC56D File Offset: 0x000FA76D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStarFightDataScRsp()
		{
		}

		// Token: 0x06005E72 RID: 24178 RVA: 0x000FC580 File Offset: 0x000FA780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStarFightDataScRsp(GetStarFightDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.groupInfos_ = other.groupInfos_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005E73 RID: 24179 RVA: 0x000FC5B6 File Offset: 0x000FA7B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStarFightDataScRsp Clone()
		{
			return new GetStarFightDataScRsp(this);
		}

		// Token: 0x17001AB1 RID: 6833
		// (get) Token: 0x06005E74 RID: 24180 RVA: 0x000FC5BE File Offset: 0x000FA7BE
		// (set) Token: 0x06005E75 RID: 24181 RVA: 0x000FC5C6 File Offset: 0x000FA7C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001AB2 RID: 6834
		// (get) Token: 0x06005E76 RID: 24182 RVA: 0x000FC5CF File Offset: 0x000FA7CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<StarFightGroupInfo> GroupInfos
		{
			get
			{
				return this.groupInfos_;
			}
		}

		// Token: 0x06005E77 RID: 24183 RVA: 0x000FC5D7 File Offset: 0x000FA7D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetStarFightDataScRsp);
		}

		// Token: 0x06005E78 RID: 24184 RVA: 0x000FC5E8 File Offset: 0x000FA7E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetStarFightDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.groupInfos_.Equals(other.groupInfos_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005E79 RID: 24185 RVA: 0x000FC638 File Offset: 0x000FA838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.groupInfos_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005E7A RID: 24186 RVA: 0x000FC685 File Offset: 0x000FA885
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005E7B RID: 24187 RVA: 0x000FC68D File Offset: 0x000FA88D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005E7C RID: 24188 RVA: 0x000FC698 File Offset: 0x000FA898
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.groupInfos_.WriteTo(ref output, GetStarFightDataScRsp._repeated_groupInfos_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005E7D RID: 24189 RVA: 0x000FC6E8 File Offset: 0x000FA8E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.groupInfos_.CalculateSize(GetStarFightDataScRsp._repeated_groupInfos_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005E7E RID: 24190 RVA: 0x000FC73C File Offset: 0x000FA93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetStarFightDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.groupInfos_.Add(other.groupInfos_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005E7F RID: 24191 RVA: 0x000FC789 File Offset: 0x000FA989
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005E80 RID: 24192 RVA: 0x000FC794 File Offset: 0x000FA994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.groupInfos_.AddEntriesFrom(ref input, GetStarFightDataScRsp._repeated_groupInfos_codec);
				}
			}
		}

		// Token: 0x04002460 RID: 9312
		private static readonly MessageParser<GetStarFightDataScRsp> _parser = new MessageParser<GetStarFightDataScRsp>(() => new GetStarFightDataScRsp());

		// Token: 0x04002461 RID: 9313
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002462 RID: 9314
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04002463 RID: 9315
		private uint retcode_;

		// Token: 0x04002464 RID: 9316
		public const int GroupInfosFieldNumber = 9;

		// Token: 0x04002465 RID: 9317
		private static readonly FieldCodec<StarFightGroupInfo> _repeated_groupInfos_codec = FieldCodec.ForMessage<StarFightGroupInfo>(74U, StarFightGroupInfo.Parser);

		// Token: 0x04002466 RID: 9318
		private readonly RepeatedField<StarFightGroupInfo> groupInfos_ = new RepeatedField<StarFightGroupInfo>();
	}
}
